package cn.hy.rabbitmq;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class RabbitmqConfig {
    @Bean
    public Queue secKillQueue(){
        return new Queue("q.sec_kill",false,false,false,null);
    }
}